//
//  DefaultInstance.m
//  页面之间传值
//
//  Created by MAC on 2018/8/27.
//  Copyright © 2018年 MAC. All rights reserved.
//

#import "DefaultInstance.h"

@implementation DefaultInstance

//通过类方法创建爱你单例对象
+ (instancetype)shatredInstance
{
    static DefaultInstance *sharedVC = nil;
    
    if (sharedVC == nil) {
        sharedVC = [[DefaultInstance alloc]init];
        
    }
    return sharedVC;
}
@end
